package com.anli1.service;


import com.anli1.entity.pojo.User;
import com.anli1.entity.vo.R;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-04
 */
public interface IUserService extends IService<User> {

    R login(String account, String password) throws Exception;

    R qiangjuan(User user);

    R register(User user);

    R publish(User user);
}
